<#include "top.ftl" >
<#include "manage_top.ftl">
<script type="text/javascript" src="js/login.js" ></script>
<html>
	<body>
		<div class="easyui-panel">
			<form id="loginForm" method="post" action="login/login">
				<table>
					<tr>
						<td>
						用户名:
						</td>
						<td>
							<input type="text" name="uid" class="easyui-validatebox" data-options="required:true"/>
						</td>
						<#if (errorCode!0)==1>
						<span style="color:red">账号或密码错误！</span>
						</#if>
					</tr>
					<tr>
						<td>
						密码:
						</td>
						<td>
							<input type="password" name="pw" class="easyui-validatebox" data-options="required:true"/>
						</td>
					</tr>
				</table>
			</form>
		</div>
		<div style="text-align:center;padding:5px">  
            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitForm()">提交</a>  
            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="clearForm()">重置</a>  
        </div>
	</body>
</html>